package com.dlws.modules.field.entity;

import java.util.Date;

import javax.persistence.Id;
import javax.persistence.Table;


@Table(name="dot_product_field")
public class ProductField {
	
	@Id
	private Integer id; //主键
	
	private Integer productId; //产品id
	
	private String productName; //产品名称
	
	private String fieldName; //属性名称
	
	private String inputName; //表单name
	
	private String fieldType; //数据展示方式 
	
	private Integer isValidate;//是否校验
	
	private Integer validateType; //校验类型 0：不为空 1：汉字  2：数字
	
	private String errorMsg; //错误提示
	 
	private String inputMsg; //文本框提示
	
	private Integer isSpe; //是否为特殊计价
	
	private Integer isSum; // 是否参与计算价格
	
	private Integer isUse; //是否启用 
	
	private Integer isDelete; //是否删除
	
	private Date createTime;//创建时间
	
	private Integer isCheckboxChild; //是否为checkbox 子项

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProductId() {
		return productId;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}


	public String getFieldName() {
		return fieldName;
	}

	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}

	public String getInputName() {
		return inputName;
	}

	public void setInputName(String inputName) {
		this.inputName = inputName;
	}

	public String getFieldType() {
		return fieldType;
	}

	public void setFieldType(String fieldType) {
		this.fieldType = fieldType;
	}

	public Integer getIsUse() {
		return isUse;
	}

	public void setIsUse(Integer isUse) {
		this.isUse = isUse;
	}

	public Integer getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getIsSum() {
		return isSum;
	}

	public void setIsSum(Integer isSum) {
		this.isSum = isSum;
	}

	public Integer getIsValidate() {
		return isValidate;
	}

	public void setIsValidate(Integer isValidate) {
		this.isValidate = isValidate;
	}

	public Integer getValidateType() {
		return validateType;
	}

	public void setValidateType(Integer validateType) {
		this.validateType = validateType;
	}

	public String getErrorMsg() {
		return errorMsg;
	}

	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}

	public String getInputMsg() {
		return inputMsg;
	}

	public void setInputMsg(String inputMsg) {
		this.inputMsg = inputMsg;
	}

	public Integer getIsSpe() {
		return isSpe;
	}

	public void setIsSpe(Integer isSpe) {
		this.isSpe = isSpe;
	}

	public Integer getIsCheckboxChild() {
		return isCheckboxChild;
	}

	public void setIsCheckboxChild(Integer isCheckboxChild) {
		this.isCheckboxChild = isCheckboxChild;
	}
	
	
	
}
